//
//  XYTUserInfoManager.h
//  XYTPayOrderSystem
//
//  Created by wupeng on 2017/8/23.
//  Copyright © 2017年 wupeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XYTUserInfoManager.h"

@interface XYTUserInfoManager : NSObject<NSCoding>

/** 授权token*/
@property (nonatomic, copy) NSString *token;
/** 用户手机号*/
@property (nonatomic, copy) NSString *phone;

@property (nonatomic, assign) NSInteger userId;
/** 1:管理员,2:网点,3:商户,4:个人,5:业务员*/
@property (nonatomic, assign) NSInteger roleType;

+ (XYTUserInfoManager *)sharedManager;

/** 保存用户信息*/
- (void)saveUserInfo;

/** 清空用户信息*/
- (void)clearUserInfo;

/** 读取用户信息*/
- (void)readUserInfo;

/** 退出登录*/
-(void)loginOutAll;






@end
